]> sjero.net Git - wget/blobdiff - src/retr.h
Support HTTP/1.1.
[wget] / src / retr.h
index f50c99802fe2c110540a5c09c44683e066a47e3e..e9550f4d6cee0921250e6aa3e0ddc9c16c7c9518 100644 (file)
@@ -43,7 +43,10 @@ extern bool output_stream_regular;
 /* Flags for fd_read_body. */
 enum {
   rb_read_exactly  = 1,
-  rb_skip_startpos = 2
+  rb_skip_startpos = 2,
+
+  /* Used by HTTP/HTTPS*/
+  rb_chunked_transfer_encoding = 4
 };
 
 int fd_read_body (int, FILE *, wgint, wgint, wgint *, wgint *, double *, int);
@@ -69,4 +72,6 @@ bool url_uses_proxy (struct url *);
 
 void set_local_file (const char **, const char *);
 
+bool input_file_url (const char *);
+
 #endif /* RETR_H */