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

  • HDstarcraft

    HDstarcraft

    12 Mayıs 2009
  • infodirt

    infodirt

    11 Mart 2009
  • Simon Hayter

    Simon Hayter

    20 HAZİRAN 2010