Epoc

Untitled

Sep 22nd, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. OPTIONS /jsonrpc.php HTTP/1.1 << Pas moi qui génère cette requête, la vraie est une requête POST
  2. Host: b.epoc.fr
  3. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
  4. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  5. Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
  6. Accept-Encoding: gzip, deflate
  7. Origin: http://a.epoc.fr << L'AJAX est exécuté depuis cette racine
  8. Access-Control-Request-Method: POST
  9. Access-Control-Request-Headers: content-type
  10. Connection: keep-alive
  11. Pragma: no-cache
  12. Cache-Control: no-cache
  13.  
  14.  
  15.  
  16. HTTP/1.1 401 Unauthorized
  17. Set-Cookie: 60gpBAK=R1224194687; path=/; expires=Mon, 22-Sep-2014 20:47:58 GMT
  18. 60gp=R477339050; path=/; expires=Mon, 22-Sep-2014 20:31:00 GMT
  19. Date: Mon, 22 Sep 2014 19:27:43 GMT
  20. Content-Type: application/json
  21. Transfer-Encoding: chunked
  22. Connection: keep-alive
  23. Server: Apache
  24. X-Powered-By: PHP/5.4.30
  25. WWW-Authenticate: Basic realm="JsonRPC" << L'appli PHP que je veux utiliser génère une auth Basic
  26. Access-Control-Allow-Origin: http://a.epoc.fr << Rajouté via htaccess
  27. Access-Control-Allow-Headers: content-type << Rajouté via htaccess
  28. Access-Control-Allow-Methods: POST, OPTIONS << Rajouté via htaccess
  29. Access-Control-Allow-Credentials: true << Rajouté via htaccess
  30.  
  31. J'ai toujours la fameuse erreur dans Firefox.
Advertisement
Add Comment
Please, Sign In to add comment