X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=index.yaws;h=767a0b7ccbf00a4ba38ab4d7e37bb3d62eee56a6;hb=15f8b5143c6b9dcfe86eda84c22c31826a7f3d1c;hp=1f76dfdf0e614029f52bf1d03cab32a6e5ae4f32;hpb=4dfbbcf0f54cb3eb70856ea404d9ecef6aec5e26;p=euphorik.git diff --git a/index.yaws b/index.yaws index 1f76dfd..767a0b7 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,21 +35,25 @@ - - - - - + + + + + + + - + + +