breautek commented on issue #1299: URL: https://github.com/apache/cordova-ios/issues/1299#issuecomment-1478164081
I'm not too familiar with PHP but that looks mostly right, however on the `OPTIONS` you shouldn't be responding any content body back, so if this php script is handling both the `GET` and `OPTIONS` methods, then you'll need to return early without sending back the image. On the `OPTIONS` method, the `Content-Length` should be `0` and there should be no payload, Just the response headers. In othewords, you should only return the image content if the HTTP method is the `GET` request. I'm not sure how to do that in PHP myself, so I can't provide an example. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
