]> sjero.net Git - wget/blobdiff - src/options.h
Follow RFC 2616 and httpbis specifications when handling redirects
[wget] / src / options.h
index 0da793798daf1369b7c55da7c83edb94450ed062..ed38617a866139dfefe476b7d6d7dd942bf4245e 100644 (file)
@@ -228,6 +228,9 @@ struct options
 
   char *post_data;             /* POST query string */
   char *post_file_name;                /* File to post */
+  char *method;                 /* HTTP Method to use in Header */
+  char *body_data;              /* HTTP Method Data String */
+  char *body_file;              /* HTTP Method File */
 
   enum {
     restrict_unix,
@@ -279,7 +282,7 @@ struct options
 
   bool show_all_dns_entries; /* Show all the DNS entries when resolving a
                                 name. */
-  bool bits_fmt;              /*Output bandwidth in bits format*/
+  bool report_bps;              /*Output bandwidth in bits format*/
 };
 
 extern struct options opt;