X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=index.yaws;h=9f318dca4799732e6cd79cedbd18ea2df1f7fcf1;hp=c5cbf63cbae0d88fadeda0a5df1648948608461d;hb=972919ab7f5651cd721eb6eec75f7150fdeaf347;hpb=ed281cb4331777625994d23a6e424fb7c5b5d2c9 diff --git a/index.yaws b/index.yaws index c5cbf63..9f318dc 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 @@ -24,13 +35,17 @@ - - - - + + + + + + + + - + @@ -38,6 +53,7 @@ +