SReject / JSON-For-Mirc

JSON parser for mIRC
19 stars 6 forks source link

Non-parse HTTP requests #16

Closed SReject closed 7 years ago

SReject commented 7 years ago

Since the script has a built-in HTTP request client I'd like to see an added switch to tell the script that it shouldn't attempt to parse the result of the HTTP request.

Furthermore, to access the body of the request there should be a mechanism to indicate the data should be read as text or it should be read as binary

SReject commented 7 years ago

I've settled on using the following switches where only one of the switches is allowed to be specified at a time and they MUST be used in combination of the -u switch.

-h: Indicates the retrieved data is text and should not be parsed -H: Indicates the retrieved data is binary and should not be parsed

SReject commented 7 years ago

This has been implement as of commit f172f055ed0b048188f8e77e534ddc5e24624605 under the -U switch; Binary file retrieval is impossible with mIRC's current COM support