+2013-05-01 Gijs van Tulder <gvtulder@gmail.com>
+
+ * retr.c (retrieve_url): New variable `saved_method'.
+ (SUSPEND_POST_DATA): Save the method to `saved_method'.
+ (RESTORE_POST_DATA): Restore the method from `saved_method'.
+
2013-05-01 Giuseppe Scrivano <gscrivano@gnu.org>
* init.c: Declare `cmd_string_uppercase'.
post_data_suspended = true; \
saved_post_data = opt.body_data; \
saved_post_file_name = opt.body_file; \
+ saved_method = opt.method; \
opt.body_data = NULL; \
opt.body_file = NULL; \
opt.method = NULL; \
{ \
opt.body_data = saved_post_data; \
opt.body_file = saved_post_file_name; \
+ opt.method = saved_method; \
post_data_suspended = false; \
- opt.method = "POST"; \
} \
} while (0)
bool post_data_suspended = false;
char *saved_post_data = NULL;
+ char *saved_method = NULL;
char *saved_post_file_name = NULL;
/* If dt is NULL, use local storage. */