php - What is "Request Headers From Upload Stream" -
from firebug:
if want emulate request using php-curl , have worry request headers upload stream? ?
when upload file, during http request, there standard http request headers see, like:
-------------------------------18788734234 content-disposition: form-data; name="nonfile_field" {input field here} -------------------------------18788734234 content-disposition: form-data; name="myfile"; filename="somefile.gif" content-type: image/gif {uploaded file here} -------------------------------18788734234--
firebug pulling out these request headers come file uploads , giving more information it. if standard file upload php-curl, curl needs ensure upload happens successfully.
Comments
Post a Comment