Skip to content

Conversation

openshwprojects
Copy link

Parsing could be improved because it may return "atest123" value when you search for "test123" but still it's better than nothing. I may or may not improve it later.

@@ -35,6 +35,30 @@ bool ArduinoHttpServer::HttpResource::isValid()
return m_resource.length() > 0;
}

// not a perfect solution, may return incorrect argument if one is a substring (at the start) of another
Copy link
Owner

@QuickSander QuickSander Aug 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add D0xygen style commenting?

Thanks for the write up!

@openshwprojects
Copy link
Author

Sure, I can fix the comment when I find some free time.

I will also have to add decoding of HTML escaped characters, for example space, they are not currently handled correctly.

@openshwprojects
Copy link
Author

I've added some changes, also a basic GET escaped characters support:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants