Code cleaning and batch feet adjustments Signed-off-by: Christian Amend <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/dbaa667b Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/dbaa667b Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/dbaa667b Branch: refs/heads/master Commit: dbaa667b8a4f80444bf303d20d76b87a570da6a3 Parents: 1f76b21 Author: Christian Holzer <[email protected]> Authored: Thu Oct 9 16:20:15 2014 +0200 Committer: Christian Amend <[email protected]> Committed: Thu Oct 9 16:45:27 2014 +0200 ---------------------------------------------------------------------- .../odata2/core/batch/v2/BatchBodyPart.java | 2 +- .../odata2/core/batch/v2/BatchParser.java | 11 --- .../odata2/core/batch/v2/BatchParserCommon.java | 22 ++--- .../batch/v2/BatchRequestTransformator.java | 4 +- .../v2/BufferedReaderIncludingLineEndings.java | 19 +++-- .../olingo/odata2/core/batch/v2/Header.java | 18 ++-- .../core/batch/BatchRequestParserTest.java | 29 ++----- .../src/test/resources/batchLarge.batch | 88 +------------------- 8 files changed, 40 insertions(+), 153 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchBodyPart.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchBodyPart.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchBodyPart.java index 288ca1c..d60c29a 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchBodyPart.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchBodyPart.java @@ -112,7 +112,7 @@ public class BatchBodyPart implements BatchPart { return requestList; } - private void validateChangeSetBoundary(final String changeSetBoundary, Header header) throws BatchException { + private void validateChangeSetBoundary(final String changeSetBoundary, final Header header) throws BatchException { if (changeSetBoundary.equals(boundary)) { throw new BatchException(BatchException.INVALID_BOUNDARY.addContent(header.getHeaderField( HttpHeaders.CONTENT_TYPE).getLineNumber())); http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParser.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParser.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParser.java index 76b5215..bf4ce93 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParser.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParser.java @@ -89,17 +89,6 @@ public class BatchParser { return resultList; } - - //TODO remove -// private List<List<Line>> splitBodyParts(final InputStream in, final String boundary) -// throws IOException, BatchException { -// -// final BufferedReaderIncludingLineEndings reader = new BufferedReaderIncludingLineEndings(new InputStreamReader(in)); -// final List<Line> message = reader.toList(); -// reader.close(); -// -// return BatchParserCommon.splitMessageByBoundary(message, boundary); -// } private String getBaseUri() throws BatchException { String baseUri = ""; http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java index 3592688..5c6cd69 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java @@ -92,22 +92,22 @@ public class BatchParserCommon { return new ByteArrayInputStream(message.getBytes()); } - + static List<List<Line>> splitRequestByBoundary(final InputStream in, final String boundary) throws BatchException, IOException { final List<List<Line>> messageParts = new LinkedList<List<Line>>(); List<Line> currentPart = new ArrayList<Line>(); boolean isEndReached = false; - //32ms + final String quotedBoundary = Pattern.quote(boundary); - final Pattern boundaryDelimiterPattern = Pattern.compile("--" + quotedBoundary + "--[\\s ]*"); + final Pattern boundaryDelimiterPattern = Pattern.compile("--" + quotedBoundary + "--[\\s ]*"); final Pattern boundaryPattern = Pattern.compile("--" + quotedBoundary + "[\\s ]*"); - + final BufferedReaderIncludingLineEndings reader = new BufferedReaderIncludingLineEndings(new InputStreamReader(in)); String currentLine; int lineNumber = 1; - - while((currentLine = reader.readLine()) != null) { + + while ((currentLine = reader.readLine()) != null) { if (boundaryDelimiterPattern.matcher(currentLine.toString()).matches()) { removeEndingCRLFFromList(currentPart); messageParts.add(currentPart); @@ -146,17 +146,17 @@ public class BatchParserCommon { return messageParts; } - + static List<List<Line>> splitMessageByBoundary(final List<Line> message, final String boundary) throws BatchException { final List<List<Line>> messageParts = new LinkedList<List<Line>>(); List<Line> currentPart = new ArrayList<Line>(); boolean isEndReached = false; - + final String quotedBoundary = Pattern.quote(boundary); - final Pattern boundaryDelimiterPattern = Pattern.compile("--" + quotedBoundary + "--[\\s ]*"); + final Pattern boundaryDelimiterPattern = Pattern.compile("--" + quotedBoundary + "--[\\s ]*"); final Pattern boundaryPattern = Pattern.compile("--" + quotedBoundary + "[\\s ]*"); - + for (Line currentLine : message) { if (boundaryDelimiterPattern.matcher(currentLine.toString()).matches()) { removeEndingCRLFFromList(currentPart); @@ -313,7 +313,7 @@ public class BatchParserCommon { public static PathInfo parseRequestUri(final Line httpStatusLine, final PathInfo batchRequestPathInfo, final String baseUri, final int line) - throws BatchException { + throws BatchException { final String odataPathSegmentsAsString; final String queryParametersAsString; http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchRequestTransformator.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchRequestTransformator.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchRequestTransformator.java index c7ffa88..4faac22 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchRequestTransformator.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchRequestTransformator.java @@ -63,7 +63,7 @@ public class BatchRequestTransformator implements BatchTransformator { return resultList; } - private void validateHeader(final BatchPart bodyPart, boolean isChangeSet) throws BatchException { + private void validateHeader(final BatchPart bodyPart, final boolean isChangeSet) throws BatchException { Header headers = bodyPart.getHeaders(); BatchTransformatorCommon.validateContentType(headers); @@ -123,7 +123,7 @@ public class BatchRequestTransformator implements BatchTransformator { || (operation.getBody().size() == 1 && !operation.getBody().get(0).toString().trim().equals("")); } - private InputStream getBodyStream(final BatchQueryOperation operation, Header headers, + private InputStream getBodyStream(final BatchQueryOperation operation, final Header headers, final ODataHttpMethod httpMethod) throws BatchException { if (HTTP_BATCH_METHODS.contains(httpMethod.toString())) { http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BufferedReaderIncludingLineEndings.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BufferedReaderIncludingLineEndings.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BufferedReaderIncludingLineEndings.java index 7b81dc8..5c7fb7c 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BufferedReaderIncludingLineEndings.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BufferedReaderIncludingLineEndings.java @@ -57,7 +57,8 @@ public class BufferedReaderIncludingLineEndings extends Reader { } // Check if buffer is filled. Return if EOF is reached - if (isBufferReloadRequired() || isEOF()) { + // Is buffer refill required + if (limit == offset || isEOF()) { fillBuffer(); if (isEOF()) { @@ -70,7 +71,8 @@ public class BufferedReaderIncludingLineEndings extends Reader { int currentOutputOffset = bufferOffset; while (bytesToRead != 0) { - if (isBufferReloadRequired()) { + // Is buffer refill required? + if (limit == offset) { fillBuffer(); if (isEOF()) { @@ -113,6 +115,7 @@ public class BufferedReaderIncludingLineEndings extends Reader { boolean foundLineEnd = false; // EOF will be considered as line ending while (!foundLineEnd) { + // Is buffer refill required? if (limit == offset) { if (fillBuffer() == EOF) { foundLineEnd = true; @@ -129,6 +132,7 @@ public class BufferedReaderIncludingLineEndings extends Reader { foundLineEnd = true; // Check next char. Consume \n if available + // Is buffer refill required? if (limit == offset) { fillBuffer(); } @@ -152,7 +156,8 @@ public class BufferedReaderIncludingLineEndings extends Reader { @Override public boolean ready() throws IOException { - return !isEOF() && !isBufferReloadRequired(); + // Not EOF and buffer refill is not required + return !isEOF() && !(limit == offset); } @Override @@ -181,8 +186,8 @@ public class BufferedReaderIncludingLineEndings extends Reader { long charactersSkiped = 0; while (charactersToSkip != 0) { - // Check if buffer is empty - if (isBufferReloadRequired()) { + // Is buffer refill required? + if (limit == offset) { fillBuffer(); if (isEOF()) { @@ -204,10 +209,6 @@ public class BufferedReaderIncludingLineEndings extends Reader { } } - private boolean isBufferReloadRequired() { - return limit == offset; - } - private boolean isEOF() { return limit == EOF; } http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/Header.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/Header.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/Header.java index 6c90e02..d2e26da 100644 --- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/Header.java +++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/Header.java @@ -11,11 +11,11 @@ public class Header implements Cloneable { private final Map<String, HeaderField> headers = new HashMap<String, HeaderField>(); private int lineNumber; - - public Header(int lineNumer) { - this.lineNumber = lineNumer; + + public Header(final int lineNumer) { + lineNumber = lineNumer; } - + public void addHeader(final String name, final String value, final int lineNumber) { final HeaderField headerField = getHeaderFieldOrDefault(name, lineNumber); final List<String> headerValues = headerField.getValues(); @@ -50,13 +50,13 @@ public class Header implements Cloneable { public String getHeader(final String name) { final HeaderField headerField = getHeaderField(name); - + return (headerField == null) ? null : headerField.getValue(); } public String getHeaderNotNull(final String name) { final HeaderField headerField = getHeaderField(name); - + return (headerField == null) ? "" : headerField.getValueNotNull(); } @@ -69,11 +69,11 @@ public class Header implements Cloneable { public HeaderField getHeaderField(final String name) { return headers.get(name.toLowerCase(Locale.ENGLISH)); } - + public int getLineNumber() { return lineNumber; } - + public Map<String, String> toSingleMap() { final Map<String, String> singleMap = new HashMap<String, String>(); @@ -87,7 +87,7 @@ public class Header implements Cloneable { public Map<String, List<String>> toMultiMap() { final Map<String, List<String>> singleMap = new HashMap<String, List<String>>(); - + for (final String key : headers.keySet()) { HeaderField field = headers.get(key); singleMap.put(field.getFieldName(), field.getValues()); http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/batch/BatchRequestParserTest.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/batch/BatchRequestParserTest.java b/odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/batch/BatchRequestParserTest.java index f9287b5..52550fb 100644 --- a/odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/batch/BatchRequestParserTest.java +++ b/odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/batch/BatchRequestParserTest.java @@ -29,7 +29,6 @@ import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.util.List; -import java.util.Random; import org.apache.olingo.odata2.api.batch.BatchException; import org.apache.olingo.odata2.api.batch.BatchRequestPart; @@ -1075,29 +1074,13 @@ public class BatchRequestParserTest { @Test public void testLargeBatch() throws BatchException, IOException { - for (int j = 0; j < 200; j++) { - String fileName = "/batchLarge.batch"; - InputStream in = ClassLoader.class.getResourceAsStream(fileName); - if (in == null) { - throw new IOException("Requested file '" + fileName + "' was not found."); - } - - StringBuilder builder = new StringBuilder(); - Random rnd = new Random(); - for (int i = 0; i < 300; i++) { - builder.append((char) ('A' + rnd.nextInt('Z' - 'A'))); - } - - // String request = builder.toString() + CRLF + inputStreamToString(in); - String request = inputStreamToString(in).replace("Walldorf", builder.toString()); - in.close(); - InputStream requestStream = new ByteArrayInputStream(request.getBytes()); - - long start = System.currentTimeMillis(); - BatchParser parser = new BatchParser(contentType, batchProperties, true); - parser.parseBatchRequest(requestStream); - System.out.println(System.currentTimeMillis() - start); + String fileName = "/batchLarge.batch"; + InputStream in = ClassLoader.class.getResourceAsStream(fileName); + if (in == null) { + throw new IOException("Requested file '" + fileName + "' was not found."); } + BatchParser parser = new BatchParser(contentType, batchProperties, true); + parser.parseBatchRequest(in); } private List<BatchRequestPart> parse(final String batch) throws BatchException { http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/dbaa667b/odata2-lib/odata-core/src/test/resources/batchLarge.batch ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-core/src/test/resources/batchLarge.batch b/odata2-lib/odata-core/src/test/resources/batchLarge.batch index 3be0982..6d0fc6e 100644 --- a/odata2-lib/odata-core/src/test/resources/batchLarge.batch +++ b/odata2-lib/odata-core/src/test/resources/batchLarge.batch @@ -5,17 +5,13 @@ Content-Transfer-Encoding: binary GET Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== Accept: application/atom+xml MaxDataServiceVersion: 2.0 -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== DataServiceVersion: 2.0 -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept-Encoding: gzip,deflate Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 - --batch_8194-cf13-1f56 Content-Type: application/http Content-Transfer-Encoding: binary @@ -23,17 +19,13 @@ Content-Transfer-Encoding: binary GET Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== Accept: application/atom+xml MaxDataServiceVersion: 2.0 -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== DataServiceVersion: 2.0 -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept-Encoding: gzip,deflate Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 - --batch_8194-cf13-1f56 Content-Type: application/http Content-Transfer-Encoding: binary @@ -41,17 +33,13 @@ Content-Transfer-Encoding: binary GET Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== Accept: application/atom+xml MaxDataServiceVersion: 2.0 -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== DataServiceVersion: 2.0 -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept-Encoding: gzip,deflate Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 - --batch_8194-cf13-1f56 Content-Type: multipart/mixed; boundary=changeset_f980-1cb6-94dd @@ -63,11 +51,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -283,11 +266,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -503,11 +481,7 @@ Content-ID: 1 PUT Employees('1') HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 + Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -553,11 +527,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -773,11 +742,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -993,11 +957,6 @@ Content-ID: 1 PUT Employees('1') HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1043,11 +1002,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1263,11 +1217,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1483,11 +1432,6 @@ Content-ID: 1 PUT Employees('1') HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1533,11 +1477,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1753,11 +1692,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -1973,11 +1907,6 @@ Content-ID: 1 PUT Employees('1') HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -2023,11 +1952,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -2243,11 +2167,6 @@ Content-ID: 1 POST Employees HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate @@ -2463,11 +2382,6 @@ Content-ID: 1 PUT Employees('1') HTTP/1.1 Host: http://localhost/odata Connection: keep-alive -Content-Length: 1117 -Authorization: Basic YW56ZWlnZXI6ZGlzcGxheQ== -Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo -X-CSRF-Token: P6no0PBwygp1ie0Gz-YbEg== -User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36 Content-Type: application/atom+xml Accept: */* Accept-Encoding: gzip,deflate
