Forum Discussion
Ed_Summers
Nov 29, 2016Nimbostratus
The HOST header includes the hostname only (and service port if non-standard), not the protocol ("https"). Change your HOST test to only "stage.mega.com" (removing protocol and all slashes) and re-test.
Reference: DevCentral Article for HTTP::host