Skip to content

Instantly share code, notes, and snippets.

@Ph47
Created December 21, 2014 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ph47/df12b939ff104ce0b943 to your computer and use it in GitHub Desktop.
Save Ph47/df12b939ff104ce0b943 to your computer and use it in GitHub Desktop.
Handler with russian support
<%@ WebHandler Language="C#" Class="Handler" %>
using System;
using System.Web;
public class Handler : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
context.Response.Write(Uri.UnescapeDataString(context.Request.RawUrl));
}
public bool IsReusable {
get {
return false;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment