Fork me on GitHub

Other articles


  1. PATCH Method

    Published: Wed 19 April 2017
    Updated: Thu 23 November 2017
    By Yunseop Song

    In http.

    이름에서도(PATCH) 유추할 수 있겠지만 자원을 업데이트 하는 Methos이다.

    PUT Mtehod와 유사하지만 자원의 전체가 아닌 일부만 변경을할 때 쓰인다.

    요청 문서에 지정된 특성은 업데이트 되고, 지정되지 않은 특성들은 업데이트 하지 않는다.

    PATCH Method는 Safe하지도 Idempotent하지도 않다.

    Refer

    • https://tools.ietf.org/html/rfc5789

    • https://tools.ietf.org/html/rfc7231#section-4 …

    read more

    There are comments.

  2. OPTIONS Method

    Published: Mon 17 April 2017
    Updated: Thu 23 November 2017
    By Yunseop Song

    In http.

    현재 웹서버에서 지원하는 method가 어떤 것들이 있는지 조회하는 Method.

    웹서버로 OPTIONS Method를 사용해 요청을 보내면 다음과 같이 사용 가능한 Method를 보내준다.

    access-control-allow-headers:Authorization
    access-control-allow-methods:HEAD, GET, POST, OPTIONS
    access-control-allow-origin:*
    access-control-max-age:21600
    allow:HEAD, GET, POST, OPTIONS
    content-length:0
    content-type:text/html; charset=utf-8
    date:Mon, 17 Apr 2017 01:52 …
    read more

    There are comments.

links

social