]> sjero.net Git - wget/blobdiff - src/retr.h
Support HTTP/1.1.
[wget] / src / retr.h
index 856e7bc8a044e3fabe46ef0e65a2a23f35128eb9..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);
@@ -67,4 +70,8 @@ void rotate_backups (const char *);
 
 bool url_uses_proxy (struct url *);
 
+void set_local_file (const char **, const char *);
+
+bool input_file_url (const char *);
+
 #endif /* RETR_H */