Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Internally, we call the request’s destination server its “origin”

Origin: The point at which something comes into existence or from which it derives or is derived.

How can the request's destination server be the origin, if it is the destination server?



Depends on your perspective :)

"Origin" is a term from web browsers, from their point of view it refers to where a web page came from.

see https://developer.mozilla.org/en-US/docs/Web/Security/Same-o...


This hilariously reminds me of the complaining about X server semantics back in the day.


On the internet, the origin is the server sending the response to the user. I suppose you can look at it from the perspective of the owner of the server -- from their frame of reference, their journey _starts_ when they receive, process, and respond to the request.

Granted, computer scientists are infamously known for being terrible at naming things.


Had any fun with “Referer” headers lately?


The origin is the origin of the content.


Thus cross origin resource sharing. Thanks!

At least it's consistently inconsistent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: