Skip to content

Commit b2e814d

Browse files
committed
Add missed HttpConstants.scala.
1 parent 8cbc9c6 commit b2e814d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.lascala.http
2+
3+
import akka.util.ByteString
4+
5+
/**
6+
* HTTP 상수 모음
7+
*/
8+
object HttpConstants {
9+
val SP = ByteString(" ")
10+
val HT = ByteString("\t")
11+
val CRLF = ByteString("\r\n")
12+
val COLON = ByteString(":")
13+
val PERCENT = ByteString("%")
14+
val PATH = ByteString("/")
15+
val QUERY = ByteString("?")
16+
val RFC1123_DATE_PATTERN = "EEE, dd MMM yyyy HH:mm:ss zzz"
17+
}
18+
19+
// vim: set ts=2 sw=2 et:

0 commit comments

Comments
 (0)