Does HTTPD offer anyway to see the RAW header?
Posted: Thu Jun 06, 2024 10:10 pm
Hello,
So I'm porting over my janky little HTTP server library I home brewed. It fully functions with IOS captive portal and when I try to port that code to the HTTPD server it does not function exactly as it should. It does about 95% like it should but then just keeps reloading the page over and over.
I need some way to see what HTTP header the device is sending to the ESP32 so I can diag. I looked through the API and can not find anything that lets me print out the RAW http header. In my home brew code I could print out the complete header or contents depending on what I wanted. I see there is code for getting the contents and putting them into a buffer to read. Though I see nothing that does this for the Header.
Thanks all!
So I'm porting over my janky little HTTP server library I home brewed. It fully functions with IOS captive portal and when I try to port that code to the HTTPD server it does not function exactly as it should. It does about 95% like it should but then just keeps reloading the page over and over.
I need some way to see what HTTP header the device is sending to the ESP32 so I can diag. I looked through the API and can not find anything that lets me print out the RAW http header. In my home brew code I could print out the complete header or contents depending on what I wanted. I see there is code for getting the contents and putting them into a buffer to read. Though I see nothing that does this for the Header.
Thanks all!