Skip to content

Commit

Permalink
update cross-origin-request
Browse files Browse the repository at this point in the history
Se remueve el es. de las URLs
  • Loading branch information
MaskeZen committed Oct 27, 2020
1 parent 2d4d85f commit 106425e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 5-network/05-fetch-crossorigin/1-do-we-need-origin/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ importance: 5

Como seguramente ya sepas, existe la cabecera HTTP `Referer`, la cual por lo general contiene la url del sitio que generó la solicitud.

Por ejemplo, cuando solicitamos la url `http://google.com` desde `http://es.javascript.info/alguna/url`, las cabeceras se ven de este modo:
Por ejemplo, cuando solicitamos la url `http://google.com` desde `http://javascript.info/alguna/url`, las cabeceras se ven de este modo:

```
Accept: */*
Expand All @@ -15,8 +15,8 @@ Accept-Encoding: gzip,deflate,sdch
Connection: keep-alive
Host: google.com
*!*
Origin: http://es.javascript.info
Referer: http://es.javascript.info/alguna/url
Origin: http://javascript.info
Referer: http://javascript.info/alguna/url
*/!*
```

Expand Down

0 comments on commit 106425e

Please sign in to comment.