maybe comic enough but i cannot serve an html file that is linked to css file.

test.html

<html>
<head>
<link rel="stylesheet" type="text/css" href="~/mystyle.css">
</head>

<body>
asdf
</body>

</html>

mystyle.css

body
{
background-color:tan;
}

this html is rendered when i double click it.
but i cannot serve it with style aded.
alt console says:
127.0.0.1 - [2014-03-09 22:09:46] "GET /test HTTP/1.1" 200 114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9"
127.0.0.1 - [2014-03-09 22:09:46] "GET /~/mystyle.css HTTP/1.1" 404 360 "http://localhost:5050/test" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9"

What should i do?