Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. > GET
  2. > http://example.com/signalr/negotiate?clientProtocol=1.4&connectionData=%5B%7B%22name%22%3A%22main%22%7D%5D&_=1416702959615 HTTP/1.1 Host: mysite.net Connection: keep-alive Pragma: no-cache
  3. > Cache-Control: no-cache Accept: text/plain, */*; q=0.01 Origin:
  4. > http://lh:51408 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64)
  5. > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65
  6. > Safari/537.36 Content-Type: application/x-www-form-urlencoded;
  7. > charset=UTF-8 Referer: http://localhost:51408/ Accept-Encoding: gzip,
  8. > deflate, sdch Accept-Language: en-US,en;q=0.8 Cookie:
  9. > ARRAffinity=9def17406de898acdc2839d0ec294473084bbc94a8f600c867975ede6f136080
  10.  
  11. > HTTP/1.1 200 OK Cache-Control: no-cache Pragma: no-cache
  12. > Transfer-Encoding: chunked Content-Type: application/json;
  13. > charset=UTF-8 Expires: -1 Server: Microsoft-IIS/8.0
  14. > X-Content-Type-Options: nosniff X-AspNet-Version: 4.0.30319
  15. > X-Powered-By: ASP.NET Date: Sun, 23 Nov 2014 00:36:13 GMT
  16. >
  17. > 187
  18. > {"Url":"/signalr","ConnectionToken":"6BKcLqjNPyOw4ptdPKg8jRi7xVlPMEgFUdzeJZso2bnXliwfY4WReQWHRpmB5YEZsbg14Au7AS5k5xS5/4qVheDxYoUkOjfFW0W8eAQsasjBaSQOifIilniU/L7XQ1+Y","ConnectionId":"f2fc7c47-c84f-49b8-a080-f91346dfbda7","KeepAliveTimeout":20.0,"DisconnectTimeout":30.0,"ConnectionTimeout":110.0,"TryWebSockets":true,"ProtocolVersion":"1.4","TransportConnectTimeout":5.0,"LongPollDelay":0.0}
  19. > 0
  20.  
  21. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhos:51408' is therefore not allowed access.
  22.  
  23. public void Configuration(IAppBuilder app)
  24. {
  25. System.Web.Mvc.AreaRegistration.RegisterAllAreas();
  26. ConfigureOAuth(app);
  27. GlobalConfiguration.Configure(WebApiConfig.Register);
  28. app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement