mg_http_get_header_var() question #1782
-
The http data i'm receiving in my application contains a header var in a file upload that looks like this: My question is - Is my http non-compliant, or should mg_http_get_header_var() also be looking for '\r', maybe '\n' when looking for the end of the value: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Do you mean HTTP headers ? No, you are not sending standard headers https://www.rfc-editor.org/rfc/rfc2616#page-31 |
Beta Was this translation helpful? Give feedback.
Do you mean HTTP headers ? No, you are not sending standard headers https://www.rfc-editor.org/rfc/rfc2616#page-31
Check the docs, tutorials, and examples; the file upload tutorial/examples show how to do something like what I think you want to do