HttpHeader.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. namespace app\utils\Ocr\Constant;
  8. /*
  9. * Licensed to the Apache Software Foundation (ASF) under one
  10. * or more contributor license agreements. See the NOTICE file
  11. * distributed with this work for additional information
  12. * regarding copyright ownership. The ASF licenses this file
  13. * to you under the Apache License, Version 2.0 (the
  14. * "License"); you may not use this file except in compliance
  15. * with the License. You may obtain a copy of the License at
  16. *
  17. * http://www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing,
  20. * software distributed under the License is distributed on an
  21. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  22. * KIND, either express or implied. See the License for the
  23. * specific language governing permissions and limitations
  24. * under the License.
  25. */
  26. /**
  27. * HTTP头常量
  28. */
  29. class HttpHeader {
  30. //请求Header Accept
  31. const HTTP_HEADER_ACCEPT = "Accept";
  32. //请求Body内容MD5 Header
  33. const HTTP_HEADER_CONTENT_MD5 = "Content-MD5";
  34. //请求Header Content-Type
  35. const HTTP_HEADER_CONTENT_TYPE = "Content-Type";
  36. //请求Header UserAgent
  37. const HTTP_HEADER_USER_AGENT = "User-Agent";
  38. //请求Header Date
  39. const HTTP_HEADER_DATE = "Date";
  40. }