Closed SDMProjects closed 1 year ago
This should go to poco.
But why the additional parameter for each member function? It seems excessive and not very C++-ish. Why not just have a ParsingMode URI::_mode
private member variable?
Hi aleks,
you're right. This is my first pull request.
I can change my code and introduce:
I understand that I must make the pull request on Poco project.
It is ok if i do that ?
yes
I update URI files (URI.h and URI.cpp in Poco/Foundation) to implement OData Version 4.01. Part 2: URL Conventions (cf https://www.odata.org/documentation/). I introduce 3 parsing mode : StrictMode to be strictly compliant with RFC 3986, TolerantMode to implement OData URL and DecodeMode (DecodeMode is redundant with plusAsSpace for decoding).
Without these changes, I can't implement OData URL parsing.