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