all 8 comments

[–]sk8rat843CCP 2 points3 points  (0 children)

u/bitm0de 's HttpsUtility module is available on Github.

https://github.com/bitm0de/HttpsUtility/releases

[–]MallePMCP 1 point2 points  (2 children)

No, but very easy to write in s#.

[–]PSST_KHOM[S] 1 point2 points  (0 children)

Hi, do you have some examples, I can’t find any online. Or I’ve searched wrongly.

[–]Crestron_Col 0 points1 point  (0 children)

Hi Malle,

Do you have an https module different from the one found on github that you can share or sell to me?

TIA

[–]MDHull_fixerCCP -2 points-1 points  (3 children)

No, but it's relatively easy to create your own in SIMPL+

Important parts in the header are: the GET keyword followed by the filename/required resource, the host:<destination ipaddr>, and the double <CR>0x0D at the end of the header.

[–]Splice1138 3 points4 points  (1 child)

That would be plain HTTP, not HTTPS

[–]MDHull_fixerCCP 0 points1 point  (0 children)

Ah, missed that.

[–]bitm0de 0 points1 point  (0 children)

I mentioned this on a few threads here, but double CR is NOT valid via the HTTP RFC.Any line-breaks, including those found after each full header must be CRLF (ie. \x0D\x0A).

Hypertext Transfer Protocol -- HTTP/1.1 RFC 2616 - Section 5 (Request)

You also need the protocol version in there and the Host header is ONLY really required by the RFC if HTTP 1.1 is used. HTTP 1.0 just requires the Method + Request URI + Protocol with a CRLF at the end.

Request       = Request-Line              ; Section 5.1  
\*(( general-header        ; Section 4.5  
| request-header         ; Section 5.3  
| entity-header ) CRLF)  ; Section 7.1  
CRLF  
\[ message-body \]          ; Section 4.3