SORU
8 ŞUBAT 2012, ÇARŞAMBA


Tam olarak bir HTTP Varlık nedir?

Birine tarif lütfen bana tam olarak ne birHTTP varlık?

HTTPClient belgeleri okuyorum, ama gerçekten ne demek istediğini anlamıyorum?

CEVAP
8 ŞUBAT 2012, ÇARŞAMBA


HTTP entity varsa bir HTTP isteği veya yanıtı, some of the headers ve vücutta oluşan çoğunluk. İstek veya durum satırı (her ne kadar sadece certain header fields are considered part of the entity) olmadan tüm istek veya Yanıt gibi görünüyor.

Göstermek için, burada bir istek var:

POST /foo HTTP/1.1          # Not part of the entity.
Content-Type: text/plain    # ┬ The entity is from this line down...
Content-Length: 1234        # │
                            # │
Hello, World! ...           # ┘

Ve bir yanıt:

HTTP/1.1 200 OK             # Not part of the entity.
Content-Length: 438         # ┬ The entity is from this line down...
Content-Type: text/plain    # │
                            # │
Response body ...           # ┘

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Shylo Sharity

    Shylo Sharit

    27 EKİM 2011
  • TecnoTutosPC

    TecnoTutosPC

    19 Kasım 2012
  • WHZGUD2

    WHZGUD2

    21 EYLÜL 2011