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

  • girleffect

    girleffect

    20 Mayıs 2008
  • hydejiaqi

    hydejiaqi

    12 Mart 2008
  • Top10Series

    Top10Series

    26 Kasım 2008