comparison src/c/request.c @ 1787:69daa6d70299

Top.postFields
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Jul 2012 15:16:57 -0400
parents 27fdd78bd2f5
children f57983ba2a36
comparison
equal deleted inserted replaced
1786:d794149b3713 1787:69daa6d70299
292 292
293 boundary = clen_s + 28; 293 boundary = clen_s + 28;
294 boundary[0] = '-'; 294 boundary[0] = '-';
295 boundary[1] = '-'; 295 boundary[1] = '-';
296 boundary_len = strlen(boundary); 296 boundary_len = strlen(boundary);
297 } else if (clen_s && strcasecmp(clen_s, "application/x-www-form-urlencoded")) { 297 } else if (clen_s) {
298 uw_Basis_postBody pb = {clen_s, body}; 298 uw_Basis_postBody pb = {clen_s, body};
299 uw_postBody(ctx, pb); 299 uw_postBody(ctx, pb);
300 } 300 }
301 } else if (strcmp(method, "GET")) { 301 } else if (strcmp(method, "GET")) {
302 log_error(logger_data, "Not ready for non-GET/POST command: %s\n", method); 302 log_error(logger_data, "Not ready for non-GET/POST command: %s\n", method);