wasSharp – Diff between revs 24 and 27
?pathlinks?
Rev 24 | Rev 27 | |||
---|---|---|---|---|
Line 68... | Line 68... | |||
68 | switch (headers != null) |
68 | switch (headers != null) |
|
69 | { |
69 | { |
|
70 | case false: |
70 | case false: |
|
71 | headers = new Dictionary<string, string> {{"Accept", @"*/*"}}; |
71 | headers = new Dictionary<string, string> { { "Accept", @"*/*" } }; |
|
72 | break; |
72 | break; |
|
- | 73 | |
||
73 | default: |
74 | default: |
|
74 | if (!headers.ContainsKey("Accept")) |
75 | if (!headers.ContainsKey("Accept")) |
|
75 | { |
76 | { |
|
76 | headers.Add("Accept", @"*/*"); |
77 | headers.Add("Accept", @"*/*"); |
|
77 | } |
78 | } |