Commit 6c4f7baa authored by Yann Garcia's avatar Yann Garcia
Browse files

Use PICs for HTTP version

parent 55d84608
Loading
Loading
Loading
Loading
+21 −11
Original line number Original line Diff line number Diff line
module LibItsHttp_Pics {
module LibItsHttp_Pics {


  /**
   * @desc HTTP major version
   */
  modulepar integer PICS_HTTP_VERSION_MAJOR := 1;
  
  /**
   * @desc HTTP minor version
   */
  modulepar integer PICS_HTTP_VERSION_MINOR := 1;
  
  /**
  /**
   * @desc 
   * @desc 
   */
   */
+3 −2
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@ module LibItsHttp_TypesAndValues {
    // LibHttp
    // LibHttp
    import from LibItsHttp_MessageBodyTypes all;
    import from LibItsHttp_MessageBodyTypes all;
    import from LibItsHttp_XmlMessageBodyTypes all;
    import from LibItsHttp_XmlMessageBodyTypes all;
    import from LibItsHttp_Pics all;
    
    
    const charstring c_header_host := "Host";
    const charstring c_header_host := "Host";
    const charstring c_header_content_type := "Content-Type";
    const charstring c_header_content_type := "Content-Type";
@@ -24,8 +25,8 @@ module LibItsHttp_TypesAndValues {
    const charstring c_header_pragma := "Pragma";
    const charstring c_header_pragma := "Pragma";
    const charstring c_header_cache_control := "Cache-Control";
    const charstring c_header_cache_control := "Cache-Control";
    
    
    const integer c_http_version_major := 1;
    const integer c_http_version_major := PICS_HTTP_VERSION_MAJOR;
    const integer c_http_version_minor := 1;
    const integer c_http_version_minor := PICS_HTTP_VERSION_MINOR;
    
    
    type record of charstring charstring_list;
    type record of charstring charstring_list;
    type record HeaderLine {
    type record HeaderLine {