Flask 에 css,js,img 파일 적용 방법
그러나 화면에 이미지가 안보인다.
1.문제 발생) flask 에 url_for 을 사용해도 이미지가 뜨지 않는다.
2. 문제 이해 :
get /http/1.1 200 -
"/" 경로로 http 버전 1.1 을 요청했고 응답 상태 코드는 200이다.
Http 메서드 get
응답 상태 코드 200 => ok 성공적으로 가져왔다.
응답 상태 코드 304 => ok 성공적으로 가져왔다.
3. 계획 수립
4. 실행
5. 회고
https://developer.mozilla.org/ko/docs/Web/HTTP/Status/404
404 Not Found - HTTP | MDN
HTTP 404 Not Found 클라이언트 오류 응답 코드는 서버가 요청받은 리소스를 찾을 수 없다는 것을 의미합니다. 404 페이지를 띄우는 링크는 대체로 브로큰 링크(broken link) 또는 데드 링크(dead link)라고
developer.mozilla.org
상태코드: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
HTTP 메서드: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
HTTP URL: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_is_a_URL
HTTP response status codes - HTTP | MDN
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
developer.mozilla.org
What is a URL? - Learn web development | MDN
With Hypertext and HTTP, URL is one of the key concepts of the Web. It is the mechanism used by browsers to retrieve any published resource on the web.
developer.mozilla.org