module CRYSTALLIX
Defined in:
crystallix-pages.cr
Constant Summary
-
ACCEPT =
ENV["HTTP_ACCEPT"]? ? ENV["HTTP_ACCEPT"] : ""
-
BODY =
STDIN.closed? ? STDIN.gets_to_end.chomp : ""
-
CONTENT_LENGTH =
ENV["CONTENT_LENGTH"]? ? ENV["CONTENT_LENGTH"].to_i : 0
-
CONTENT_TYPE =
ENV["CONTENT_TYPE"]? ? ENV["CONTENT_TYPE"] : ""
-
COOKIES =
ENV["HTTP_COOKIE"]? ? ENV["HTTP_COOKIE"] : ""
-
QUERY_STRING =
ENV["QUERY_STRING"]
-
REDIRECT_STATUS =
ENV["REDIRECT_STATUS"]
-
REMOTE_ADDR =
ENV["REMOTE_ADDR"]
-
REQUEST_METHOD =
ENV["REQUEST_METHOD"].upcase
-
SERVER_NAME =
ENV["SERVER_NAME"]
-
SERVER_PORT =
ENV["SERVER_PORT"].to_i
-
SERVER_PROTOCOL =
ENV["SERVER_PROTOCOL"]
-
USER_AGENT =
ENV["HTTP_USER_AGENT"]? ? ENV["HTTP_USER_AGENT"] : ""