1
/* Copyright (c) 2006 Google Inc.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
15
#region Using directives
24
//////////////////////////////////////////////////////////////////////
25
// <summary>explain the file</summary>
26
//////////////////////////////////////////////////////////////////////
27
namespace Google.GData.Client
29
/// <summary>a simple static collection of HTTP method strings </summary>
30
public static class HttpMethods
32
/// <summary>the delete method</summary>
33
public const string Delete = "DELETE";
34
/// <summary>the post method</summary>
35
public const string Post = "POST";
36
/// <summary>the put method</summary>
37
public const string Put = "PUT";
38
/// <summary>the get method</summary>
39
public const string Get = "GET";
42
/// <summary>a simple static collection of HTTP form post strings </summary>
43
public static class HttpFormPost
45
/// <summary>form encoding</summary>
46
public const string Encoding = "application/x-www-form-urlencoded";
47
/// <summary>expected return form contenttype</summary>
48
public const string ReturnContentType = "text";
51
//////////////////////////////////////////////////////////////////////
52
/// <summary>enum to describe the different formats that query might return
54
//////////////////////////////////////////////////////////////////////
55
public enum AlternativeFormat
57
/// <summary>returns an atom format</summary>
59
/// <summary>returns RSS 2.0</summary>
61
/// <summary>returns the Open RSS 2.0s</summary>
63
/// <summary>parsing error</summary>
66
/////////////////////////////////////////////////////////////////////////////
70
/////////////////////////////////////////////////////////////////////////////