예제 #1
0
 public object Head(CustomMethodResult request)
 {
     return(new HttpResult {
         Headers =
         {
             { "X-Method",       "HEAD"                },
             { "X-Id",           request.Id.ToString() },
             { "Content-Length", "100"                 },
             { "Content-Type",   "video/mp4"           },
         }
     });
 }
예제 #2
0
 public object Any(CustomMethodResult request) => request;