Skip to content

Commit

Permalink
HttpUtil进一步优化
Browse files Browse the repository at this point in the history
  • Loading branch information
fengwenyi committed Nov 17, 2018
1 parent 35730cc commit fa495a0
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 450 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/fengwenyi/javalib/constant/UserAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
*/
public class UserAgent {

private static final String MAC_ = "Mozilla/5.0 (Macintosh; PPC Mac OS X) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1";

/**
* Chrome Win7
*/
public static final String CHROME_WIN_7 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1";
public static final String CHROME_WIN7 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1";

/**
* Firefox Win7
*/
public static final String FIREFOX_WIN_7 = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0";
public static final String FIREFOX_WIN7 = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0";

/**
* SAFARI_WIN7
Expand Down
Loading

0 comments on commit fa495a0

Please sign in to comment.