I'am using IResourceInterceptor to intercept certain http calls. I get the response from HttpWebRequest and return an ResourceResponse using ResourceResponse.Create with the byte array of the response. This works good when the response contains some data, but I also want to intercept some calls which are only returning https headers. (Content-Length is 0)
I've traced those calls using Fiddler and saw that the calls with Content-Length 0 where called twice. It seams that when an empty byte array is returned Awesomiunm ignores it and calls the url again after OnRequest. Is there some way to prevent Awesomium from calling these urls again?