mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-06 11:18:19 +02:00
9 lines
290 B
JavaScript
9 lines
290 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/
|
|
*/
|
|
|
|
function handleRequest(request, response) {
|
|
response.setStatusLine(request.httpVersion, 200);
|
|
response.setHeader("Set-Cookie", "foopy=1");
|
|
response.write("cookie served");
|
|
}
|