X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=index.yaws;h=47595bb3ab44fa6c6cb6e960fa0d27c50fba32de;hp=1f76dfdf0e614029f52bf1d03cab32a6e5ae4f32;hb=7203835bce6f94b6afcc7403694145c829a4f833;hpb=4dfbbcf0f54cb3eb70856ea404d9ecef6aec5e26 diff --git a/index.yaws b/index.yaws index 1f76dfd..47595bb 100755 --- a/index.yaws +++ b/index.yaws @@ -1,6 +1,15 @@ + + out(A) -> + {header, {content_type, + case string:str((A#arg.headers)#headers.user_agent, "MSIE") of + 0 -> "application/xhtml+xml"; + _ -> "text/html" + end + }}. + @@ -24,14 +33,16 @@ - - - - - + + + + + + + - + @@ -39,6 +50,7 @@ +