package org.mvnsearch.ali.oss.spring.shell.converters;

import java.util.Arrays;
import java.util.List;

/**
 * http header
 *
 * @author linux_china
 */
public class HttpHeader {
    /**
     * name
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static List<String> getDefaultNames() {
        return Arrays.asList("Cache-Control", "Content-Type", "Expires");
    }
}

@@ -349,32 +349,125 @@
  = name;%0A    %7D%0A%0A
+    /**%0A     * get default http header names%0A     *%0A     * @return http header names%0A     */%0A
     public stati
@@ -572,16 +572,161 @@
 Expires%22
+,%0A                %22Access-Control-Allow-Origin%22, %22Content-MD5%22, %22Content-Disposition%22,%0A                %22Pragma%22, %22Content-Encoding%22, %22Set-Cookie%22
 );%0A    %7D

add more http headers