Exemple #1
0
 // Token: 0x060012F8 RID: 4856
 // RVA: 0x00063654 File Offset: 0x00061854
 protected override void vmethod_2(IList ilist_0, Class158 class158_0)
 {
     base.vmethod_2(ilist_0, class158_0);
     this.method_38(Class158.smethod_4(ilist_0, class158_0, "Accept"));
     this.method_40(Class158.smethod_4(ilist_0, class158_0, "Accept-Charset"));
     this.method_42(Class158.smethod_4(ilist_0, class158_0, "Accept-Encoding"));
     this.method_44(Class158.smethod_4(ilist_0, class158_0, "Accept-Language"));
     this.method_46(Class158.smethod_4(ilist_0, class158_0, "Authorization"));
     this.method_48(Class158.smethod_4(ilist_0, class158_0, "Host"));
     this.method_50(Class158.smethod_4(ilist_0, class158_0, "Proxy-Authorization"));
     this.method_52(Class158.smethod_4(ilist_0, class158_0, "Range"));
     this.method_54(Class158.smethod_4(ilist_0, class158_0, "Referer"));
     this.method_56(Class158.smethod_4(ilist_0, class158_0, "User-Agent"));
 }
Exemple #2
0
 // Token: 0x06001234 RID: 4660
 // RVA: 0x0006137C File Offset: 0x0005F57C
 public static void smethod_7(StringCollection stringCollection_0, Class158 class158_0, Class157 class157_0)
 {
     if (class157_0 != null)
     {
         class158_0.Remove(class157_0);
         int i = int.Parse(class157_0.Value);
         stringCollection_0.RemoveAt(i);
         while (i < stringCollection_0.Count)
         {
             if (Class174.smethod_2(stringCollection_0[i]))
             {
                 break;
             }
             if (stringCollection_0[i][0] != '\t' && stringCollection_0[i][0] != ' ')
             {
                 return;
             }
             stringCollection_0.RemoveAt(i);
         }
     }
 }
Exemple #3
0
 // Token: 0x06001235 RID: 4661
 // RVA: 0x000110E2 File Offset: 0x0000F2E2
 public static void smethod_8(StringCollection stringCollection_0, Class158 class158_0, string string_0)
 {
     Class158.smethod_7(stringCollection_0, class158_0, class158_0[string_0]);
 }
Exemple #4
0
 // Token: 0x0600122F RID: 4655
 // RVA: 0x000110BB File Offset: 0x0000F2BB
 public static string smethod_4(IList ilist_0, Class158 class158_0, string string_0)
 {
     return Class158.smethod_3(ilist_0, class158_0[string_0.ToLower(CultureInfo.InvariantCulture)]);
 }
Exemple #5
0
 // Token: 0x0600122D RID: 4653
 // RVA: 0x00061050 File Offset: 0x0005F250
 public static int smethod_2(int int_0, IList ilist_0, Class158 class158_0)
 {
     if (ilist_0 == null)
     {
         return int_0;
     }
     for (int i = int_0; i < ilist_0.Count; i++)
     {
         string text = (string)ilist_0[i];
         if (Class174.smethod_2(text))
         {
             return i;
         }
         if (text[0] != '\t' && text[0] != ' ')
         {
             int num = text.IndexOf(":");
             if (num >= 0)
             {
                 class158_0.Add(text.Substring(0, num), i.ToString(CultureInfo.InvariantCulture));
             }
         }
     }
     return ilist_0.Count;
 }
Exemple #6
0
 arrayList.Add(Class158.smethod_3(ilist_0, class));
Exemple #7
0
 // Token: 0x06001320 RID: 4896
 // RVA: 0x000638DC File Offset: 0x00061ADC
 private string[] method_37(IList ilist_0, Class158 class158_0, string string_25)
 {
     ArrayList arrayList = new ArrayList();
     foreach (Class157 class in class158_0)
     {
         if (string.Compare(string_25, class.Name, true, CultureInfo.InvariantCulture) == 0)
Exemple #8
0
 // Token: 0x06001322 RID: 4898
 // RVA: 0x00063A3C File Offset: 0x00061C3C
 protected override void vmethod_2(IList ilist_0, Class158 class158_0)
 {
     base.vmethod_2(ilist_0, class158_0);
     this.method_40(Class158.smethod_4(ilist_0, class158_0, "Accept-Ranges"));
     this.method_42(Class158.smethod_4(ilist_0, class158_0, "Age"));
     this.method_44(Class158.smethod_4(ilist_0, class158_0, "Allow"));
     this.method_48(Class158.smethod_4(ilist_0, class158_0, "Content-Range"));
     base.method_16(Class158.smethod_4(ilist_0, class158_0, "Content-Encoding"));
     this.method_50(Class158.smethod_4(ilist_0, class158_0, "ETag"));
     this.Location = Class158.smethod_4(ilist_0, class158_0, "Location");
     this.method_54(Class158.smethod_4(ilist_0, class158_0, "Retry-After"));
     this.method_56(Class158.smethod_4(ilist_0, class158_0, "Server"));
     this.method_46(this.method_37(ilist_0, class158_0, "WWW-Authenticate"));
     this.method_52(this.method_37(ilist_0, class158_0, "Proxy-Authenticate"));
 }