X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=index.yaws;h=5bc67bd293282974bef46b8b0469d378d0e5fc75;hb=9be780a2fbd68bf4c71431d94e8e8c07666468fb;hp=105694d329b0028860972e8a474a8bee03ca3753;hpb=55b0291a691e56465277811aac749e930509fea2;p=euphorik.git diff --git a/index.yaws b/index.yaws index 105694d..5bc67bd 100755 --- a/index.yaws +++ b/index.yaws @@ -1,7 +1,18 @@ - + - + + out(A) -> + {header, {content_type, + case string:str((A#arg.headers)#headers.user_agent, "MSIE") of + 0 -> "application/xhtml+xml"; + _ -> "text/html" + end + }}. + + euphorik.ch @@ -23,7 +34,35 @@ }. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +