computing
-
HTTP 이어받기(특정 구간 컨텐츠 요청)computing 2013. 4. 18. 09:32
HTTP 요청시 이어받기 HTTP Range 헤더를 통해서 구현 Range: bytes=n-nnnn 이렇게 요청에 대해 범위를 지정하는 듯.그러면 서버응답은 HTTP/1.1 206 Partial ContentDate: Wed, 17 Apr 2013 09:44:52 GMTContent-Length: 336638Content-Range: bytes 0-336637/336638Last-Modified: 2013-04-16T02:11:36ZAccept-Ranges: bytesETag: "MzM2NjM4MjAxMy0wNC0xNlQwMjoxMTozNlo="Content-Type: application/octet-streamKeep-Alive: timeout=5, max=100Connection: Keep-Alive..
-
Python 요약#1computing 2012. 10. 25. 11:24
python 요약#1 Variable and Data Types 특징: High-level, Interpreted, Object-orientedi = 123f = 12.3b = Truecase-sensitive Whitespace and Statements statement 구분은 whitespace로Comment # single comment“”” multi line comment “””Math Operations +, -, *, /, %, **(exponentiation) Strings “string”‘string’“string with \’escape\’”“string”[0] == s string methods len(“string”)str(23)“string”.upper()“STRING”.lowe..