X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=index.yaws;h=47595bb3ab44fa6c6cb6e960fa0d27c50fba32de;hp=9d31ae48064c56849eec04468fdaca6b282260f7;hb=7203835bce6f94b6afcc7403694145c829a4f833;hpb=b8df4cebbdbe838b78d4a860f1fe6e1931b1baf3 diff --git a/index.yaws b/index.yaws index 9d31ae4..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 + }}. +