I'm trying to develop and event handler which reads PDF files in
After reading a bit on the internet, I finally found a way to do so.
When uploading a file through a browser, everything works as intended. But when use a script executing a raw HTTP PUT, it does not work anymore. I get a null
HttpContext.Current in the event constructor.
My guess is that when doing an HTTP PUT, I'm not in an
HttpContext but in something else, like an
OperationContext or a
WebOperationContext, like explained on StackOverflow.
But if I try to get a current
WebOperationContext, it returns null.
Is there anything I should know here?