Esempio n. 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"           },
         }
     });
 }
Esempio n. 2
0
 public object Any(CustomMethodResult request) => request;